home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19980901-19981211 / 000092_news@newsmaster….columbia.edu _Thu Oct 1 14:09:44 1998.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA05408
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Thu, 1 Oct 1998 14:09:40 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id OAA16787
  7.     for kermit.misc@watsun; Thu, 1 Oct 1998 14:09:38 -0400 (EDT)
  8. Path: news.columbia.edu!sol.ctr.columbia.edu!news.mindlink.net!paralynx!paralynx-2!news.mindlink.net!paralynx!paralynx-3!paralynx!paralynx-4!van-bc!paralynx!paralynx-1!cyclone.bc.net!logbridge.uoregon.edu!newsfeed.berkeley.edu!peerfeed.ncal.verio.net!bug.rahul.net!samba.rahul.net!rahul.net!a2i!dold.a2i!dold
  9. From: dold@82.usenet.us.com
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: Telnet disconnect
  12. Date: 1 Oct 1998 16:39:49 GMT
  13. Organization: a2i network
  14. Lines: 36
  15. Message-ID: <6v0b8l$ppa$1@samba.rahul.net>
  16. References: <F04wA5.DqL@cix.compulink.co.uk>
  17. Reply-To: dold@network.rahul.net
  18. NNTP-Posting-Host: waltz.rahul.net
  19. NNTP-Posting-User: dold
  20. X-Newsreader: TIN [version 1.2 PL2]
  21. X-Comment: Encoded From: line allows replies that preserve original subject
  22. Xref: news.columbia.edu comp.protocols.kermit.misc:9275
  23.  
  24. Lygo Systems (lsystemsd@cix.compulink.co.uk) wrote:
  25.  
  26. : I have a number of users connecting with MS-DOS Kermit telnet sessions 
  27. : into Redhat Linux (4.2 & 5.1).  If they close the connection with the 
  28. : normal Kermit exit command without first logging off, then the telnet 
  29. : session is closed on Linux which is just what I want.  If, however, they 
  30. : reboot their PC with ALT CTL DEL then the session stays active.
  31.  
  32. This is a historical problem with PC users on the 'net ;-)
  33. If the PC logs off, or shuts down TCP in an orderly fashion, the connection
  34. is terminated, but if the connection just "goes away", the Unix side stays
  35. alive for a length of time indicated in the driver...  I believe it is
  36. adjustable as a "KEEPALIVE", but I recall that it wasn't useful for my
  37. application, a few years ago.
  38. The problem seemed to diminish by virtue of Win95, where the TCP driver
  39. stayed "up", instead of earlier systems (like some Mac apps), where the
  40. driver was unloaded abruptly, without a proper disconnect.  I don't know
  41. that the Mac case was a reboot, but the problem can be simulated on a PC by
  42. a reboot.  I doubt that the typical user reboots when finished with a
  43. telnet session, though, so I suspect it is MS-Kermit being terminated
  44. incorrectly.  MSKermit has its own TCP layer, so if it is killed off,
  45. rather than closing the connection, the TCP layer suddenly disappears.  The
  46. distant end doesn't find out until the TCP layer is reloaded at some later
  47. time.  
  48.  
  49. If you can implement an idle timeout, that should work to break these
  50. connections.  Currently, I implement a separate task, at login time, that
  51. watches the time stamp on the terminal device, and closes the connection if
  52. there is no activity.  Unfortunately, a displayed "clock" in elm keeps
  53. updating the screen, and prevents my idle timer from killing a session if
  54. elm is left running.
  55. ---
  56. Clarence A Dold - dold@network.rahul.net
  57.                 - Pope Valley & Napa CA.